import { combineReducers } from 'redux'
import { loginReducers } from './login'
import UserType from '../types/UserType'

const combinedReduces = combineReducers({ loginReducers })
//store的类型
export type loginReducersType = {
    displayName: string
    userID: number
    isLogin: boolean
    userType: UserType
}
export type RootState = {
    loginReducers: loginReducersType
}

export default combinedReduces
